/*
	Azid Engine is 3D Game Engine developed along side with Galactic Siege (see Google Code) 
	Copyright (C) 2010  Jorgen Ader

	This file is part of AzidEngine.

	AzidEngine is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	AzidEngine is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with AzidEngine.  If not, see <http://www.gnu.org/licenses/>. 
*/

#ifndef EngineNetworkManager_HPP_
#define EngineNetworkManager_HPP_

#include "Includes.hpp"

namespace AzidEngine
{
	/**
	 * \addtogroup ENGINE
	 * @{
	 * \addtogroup MANAGERS
	 * @{
	 * \class NetworkManager
	 * @{
	 **/
	class NetworkManager
	{
	public:
		enum	NETWORKMANAGER_TYPE
		{
			CLIENT 	= 100,
			HOST 	= 200
		};

		// TODO
		// Include RakNet library, will implement after physic's engine
		// Fill in all response/query codes

		enum	HOST_RESPONSE_CODE
		{
		};

		enum	CLIENT_QUERY_CODE
		{
		};

		enum	HOST_QUERY_CODE
		{
		};

		enum	CLIENT_RESPONSE_CODE
		{
		};

		NetworkManager(int port);
		~NetworkManager();
		
		void	setupServer();
		void	setupClient();
		void	destroy();
	private:
		int		mPort;
	};
	/**
	 * @}
	 * @}
	 * @}
	 */
}
#endif /* EngineNetworkManager_HPP_ */
